Repository navigation
fix: a moved thread names the threads it started that are already on its new computer - #990
Merged
Merged
Conversation
…its new computer A parent that moves to the computer where a thread it started already is (a child that moved there alone, or one its agent started there over the link) got no word about that thread on arrival. With a family, the sender's list of remote children even said it "stayed there". The receiving computer now reads its own records (threads started over the same link by the thread the move came from) and adds a line to the Moved here boundary: "Its thread 'X' is already on this computer. It stays separate, so this thread can't reach it." The sender leaves children on the target computer out of remoteStayed. Nothing is re-linked: the child stays fenced and its parent stays the copy on the old computer.
…n older sender's duplicate A thread started here that has since moved away is no longer named as already here. When an older computer still lists a child here as staying where it is, that entry is dropped in favor of the line from this computer's own records. The lookup reads at most eight rows at a time.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
…ves first Its two children are listed in the order the app received them, which the shell and detail streams race to set, so the exact sibling order flaked in CI. It now checks the parent leads with both children right under it.
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A parent thread can start a child on another computer and later move to that same computer. When it arrived, its "Moved here" line said nothing about the child, or said the child "stayed there", which was wrong.
The computer it moves to now finds those children in its own records and says so: "Its thread 'Fix tests' is already on this computer. It stays separate, so this thread can't reach it." Threads that were archived, deleted, or have moved away again are left out. The sending computer stops listing them as "stayed there", and the receiver drops that old entry if an older sender still sends it.